//implement GToyMutexImpl
//andycai_sc 2012-03-08

#include "GParallel/GToy/GToyMutexImpl.h"

GToyMutexImpl::GToyMutexImpl()
{
}

GToyMutexImpl::~GToyMutexImpl()
{
}

void GToyMutexImpl::lockImpl()
{
	m_mutex.lock();
}

void GToyMutexImpl::unlockImpl()
{
	m_mutex.unlock();
}

GMutexImpl* createMutexFromGToy()
{
	return new GToyMutexImpl();
}
